<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<c:set var="contextPath" value="${pageContext.request.contextPath}" />

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
	<script type="text/javascript" src="${contextPath}/resources/js/renacempleo/red/empresas/redEmpresas.js"></script>
	<script type="text/javascript" src="${contextPath}/resources/js/renacempleo/red/empresas/redEmpresasForms.js"></script>
	
	<script type="text/javascript" src="${contextPath}/resources/js/ux/RowExpander.js"></script>
	<script type="text/javascript" src="${contextPath}/resources/js/ux/CheckboxGroup.js"></script>	
	
	<script type="text/javascript">
	Ext.Loader.setConfig({
	    enabled: true
	});
	Ext.Loader.setPath('Ext.ux', '../ux');
	
	Ext.require([
	    'Ext.grid.*',
	    'Ext.data.*',
	    'Ext.form.*',
	    'Ext.ux.RowExpander',
	    'Ext.layout.container.CheckboxGroup',
	    'Ext.selection.CheckboxModel'
	]);
   		Ext.onReady(function(){
   			Asg.Combo.initCtgMediosBusqueda(<c:out value="${requestScope.ctgMediosBusqueda}" default="[]" escapeXml="false"/>);
   			Asg.Combo.intiCtgOficinas(<c:out value="${requestScope.ctgOficinas}" default="[]" escapeXml="false"/>);
   			Asg.Combo.initSgdUsuarios(<c:out value="${requestScope.sgdUsuario}" default="[]" escapeXml="false"/>);
   			var config = {
  				data: <c:out value="${requestScope.data}" default="[]" escapeXml="false"/>
  			};
   			Viewport.initWindow(RedEmpresa.initConfig(config));
   		});
   	</script>
   	<style>
   		#gridEmpresas td {text-transform: uppercase !important;}
   		
   	</style>
</head>
	<body>
	</body>
</html>